<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class Tooltip</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
						<script src="../../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../../media/images/plus.png";
				imgMinus.src = "../../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Tooltip</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The Tooltip defines what will be visbile when the cursor is over an element of the chart.</p>
		<p class="notes">
			Located in <a class="field" href="_googlecharttools---view---options---Tooltip.class.php.html">/googlecharttools/view/options/Tooltip.class.php</a> (line <span class="field">36</span>)
		</p>
		
				
		<pre><a href="../../view/OptionStorage.html">OptionStorage</a>
   |
   --Tooltip</pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TEXT_BOTH" title="details" class="const-name">TEXT_BOTH</a> = 					<span class="var-type"> &quot;both&quot;</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TEXT_PERCENTAGE" title="details" class="const-name">TEXT_PERCENTAGE</a> = 					<span class="var-type"> &quot;percentage&quot;</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TEXT_VALUE" title="details" class="const-name">TEXT_VALUE</a> = 					<span class="var-type"> &quot;value&quot;</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TRIGGER_HOVER" title="details" class="const-name">TRIGGER_HOVER</a> = 					<span class="var-type"> &quot;hover&quot;</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TRIGGER_NONE" title="details" class="const-name">TRIGGER_NONE</a> = 					<span class="var-type"> &quot;none&quot;</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
									<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																							
				<div class="method-definition">
					<img src="../../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Tooltip</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$showColorCode</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span> = <span class="var-default">null</span>], [<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$textStyle</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$trigger</span> = <span class="var-default">null</span>])
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setShowColorCode" title="details" class="method-name">setShowColorCode</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$showColorCode</span>, <span class="var-type">boolean</span>&nbsp;<span class="var-name">$color</span>)
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setText" title="details" class="method-name">setText</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setTextStyle" title="details" class="method-name">setTextStyle</a>
											(<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$textStyle</span>, <span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$name</span>)
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setTrigger" title="details" class="method-name">setTrigger</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$trigger</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">79</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates a new Tooltip option-set.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Tooltip</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$showColorCode</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span> = <span class="var-default">null</span>], [<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$textStyle</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$trigger</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$showColorCode</span><span class="var-description">: If set to to true, the chart element's color will be shown               inside the tooltip.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: This is only recognized in <a href="../../view/PieChart.html">PieChart</a>s. Defines which information               will be shown in the tooltip. Must be one of the <em>TEXT_...</em>               constants or null.</span>			</li>
					<li>
				<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>
				<span class="var-name">$textStyle</span><span class="var-description">: The text style used for the tooltip.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$trigger</span><span class="var-description">: Defines which interaction causes the tooltip to be shown.               Must be one of the <em>TRIGGER_...</em> constants or null.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetShowColorCode" id="setShowColorCode"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setShowColorCode</span> (line <span class="line-number">94</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the visibility of the element's color.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setShowColorCode
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$showColorCode</span>, <span class="var-type">boolean</span>&nbsp;<span class="var-name">$color</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$color</span><span class="var-description">: If set to to true, the chart element's color will be shown               inside the tooltip.               If set to false or null, they won't.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$showColorCode</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetText" id="setText"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setText</span> (line <span class="line-number">106</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets which information will be shown in the tooltip of pie-charts.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setText
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: This is only recognized in <a href="../../view/PieChart.html">PieChart</a>s. Defines which information               will be shown in the tooltip. Must be one of the <em>TEXT_...</em>               constants or null.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTextStyle" id="setTextStyle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setTextStyle</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the text style of the chart's tooltip.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTextStyle
		</span>
					(<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$textStyle</span>, <span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>
				<span class="var-name">$name</span><span class="var-description">: The text style. If set to null, the default style will be used.</span>			</li>
					<li>
				<span class="var-type"><a href="../../view/options/TextStyle.html">TextStyle</a></span>
				<span class="var-name">$textStyle</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTrigger" id="setTrigger"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setTrigger</span> (line <span class="line-number">131</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets which interaction causes the tooltip to be shown.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTrigger
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$trigger</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$trigger</span><span class="var-description">: Defines which interaction causes the tooltip to be shown.               Must be one of the <em>TRIGGER_...</em> constants or null.</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../view/OptionStorage.html">OptionStorage</a></span></p>
					<blockquote>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../view/OptionStorage.html#methodencodeOptions">OptionStorage::encodeOptions()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../view/OptionStorage.html#methodgetOption">OptionStorage::getOption()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../view/OptionStorage.html#methodsetOption">OptionStorage::setOption()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../view/OptionStorage.html#methodsetOptionArray">OptionStorage::setOptionArray()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../view/OptionStorage.html#methodsetOptionBoolean">OptionStorage::setOptionBoolean()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../view/OptionStorage.html#methodsetOptionNumeric">OptionStorage::setOptionNumeric()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constTEXT_BOTH" id="TEXT_BOTH"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TEXT_BOTH</span>
			 = <span class="const-default"> &quot;both&quot;</span>
			(line <span class="line-number">41</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Percentage and absolute values will be displayed.</p>
	
	
</div>
<a name="constTEXT_PERCENTAGE" id="TEXT_PERCENTAGE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TEXT_PERCENTAGE</span>
			 = <span class="const-default"> &quot;percentage&quot;</span>
			(line <span class="line-number">51</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Only percentage values are displayed.</p>
	
	
</div>
<a name="constTEXT_VALUE" id="TEXT_VALUE"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TEXT_VALUE</span>
			 = <span class="const-default"> &quot;value&quot;</span>
			(line <span class="line-number">46</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Only absolute values are displayed.</p>
	
	
</div>
<a name="constTRIGGER_HOVER" id="TRIGGER_HOVER"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TRIGGER_HOVER</span>
			 = <span class="const-default"> &quot;hover&quot;</span>
			(line <span class="line-number">56</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Tooltip will be displayed when the cursor is over a element.</p>
	
	
</div>
<a name="constTRIGGER_NONE" id="TRIGGER_NONE"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TRIGGER_NONE</span>
			 = <span class="const-default"> &quot;none&quot;</span>
			(line <span class="line-number">61</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">No tooltip will be displayed.</p>
	
	
</div>
						
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Mon, 01 Oct 2012 16:45:07 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>